package com.test.spring.fusion.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.test.spring.fusion.feign.FeignClientService;
import com.test.spring.fusion.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired(required = false)
	private FeignClientService feignClientService;

//	@LcnTransaction 使用aop配置
//	@Transactional
	@Override
	public String saveLcnTest() {
		String lcnTest = feignClientService.lcnTest();
		System.out.println(lcnTest);
		System.out.println(1/0);
		return lcnTest;
	}

}
